<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <title>用户详情</title>
    <!-- Bootstrap 3.3.5 -->
    <link href="http://cdn.52shangou.com/bootstrap/1.0.2/build/3.3.5/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="../../src/c/font-awesome-4.4.0/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="../../src/c/ionicons-2.0.1/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="../../src/c/dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="../../src/c/dist/css/skins/_all-skins.min.css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <link href=" http://cdn.52shangou.com/bootstrapvalidator/1.0.0/build/css/bootstrapValidator.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="../../build/c/base/index.css">
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

    <header class="main-header">
        <!-- Logo -->
        <a href="../home/index.html" class="logo">
            <!-- mini logo for sidebar mini 50x50 pixels -->
            <span class="logo-mini"><b>C</b>RM</span>
            <!-- logo for regular state and mobile devices -->
            <span class="logo-lg"><b>闪电购</b>CRM</span>
        </a>

        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top" role="navigation">
            <!-- Sidebar toggle button-->
            <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                <span class="sr-only">导航</span>
            </a>
            <!-- Navbar Right Menu -->
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">


                </ul>
            </div>
        </nav>
    </header>
    <!-- Left side column. contains the logo and sidebar -->
    <aside class="main-sidebar" id="main-sidebar">

    </aside>


    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                用户详情
            </h1>
        </section>

        <!-- Main content -->
        <section class="content">
            <!-- Info boxes -->
            <div class="panel panel-info" id="panel">
                <div class="panel-heading">用户详细信息</div>
                <div class="panel-body">
                    <form class="form-horizontal" role="form">
                        <div class="form-group">
                            <label class="control-label col-sm-2">主管:</label>

                            <div class="col-sm-4">
                                <input id="leader" type="text" class="form-control"
                                       placeholder=" 输入小二手机号自动搜索"
                                       data-provide="typeahead" disabled/>
                                <input type="hidden" id="managerUserId"/>
                            </div>
                            <div class="col-sm-4"><button type="button" id="del_manager" class="btn btn-danger">解 除</button></div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-sm-2">部门:</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" id="department">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-sm-2">职位:</label>

                            <div class="col-sm-4">
                                <input type="text" class="form-control" id="category">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-sm-2">工号:</label>

                            <div class="col-sm-4">
                                <input type="text" class="form-control" id="workerId">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-sm-2">手机号码:</label>

                            <div class="col-sm-4">
                                <input class="form-control" disabled id="mobile">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-sm-2">真实姓名:</label>

                            <div class="col-sm-4">
                                <input id="realName" class="form-control" type="text"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-sm-2">昵称:</label>

                            <div class="col-sm-4">
                                <input id="userNick" class="form-control" type="text"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-sm-2" for="email">邮箱:</label>

                            <div class="col-sm-4">
                                <input type="email" class="form-control" id="email">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-sm-2">城市:</label>

                            <div class="col-sm-4">
                                <select class="form-control" id="city">
                                    <option value="">请选择城市</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-sm-2">管理权限:</label>

                            <div class="col-sm-4">
                                <select class="form-control" id="audit">
                                    <option value="0">普通买家</option>
                                    <option value="200">卖家</option>
                                    <option value="500">多小区管理（地推小二权限）</option>
                                    <option value="600">城市管理（城市经理）</option>
                                    <option value="700">全国管理</option>
                                    <option value="800">安全数据管理</option>
                                    <option value="1000">系统管理</option>
                                    <option value="2000">超级管理员</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-sm-2">状态:</label>

                            <div class="col-sm-4">
                                <select class="form-control" id="isDeleted">
                                    <option value="0" selected="selected">正常</option>
                                    <option value="1">停止使用</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-sm-2">账号创建时间:</label>

                            <div class="col-sm-4">
                                <input class="form-control" disabled id="gmtCreate">
                            </div>
                        </div>
                        <div class="form-group" style="display: none" id="userId_div">
                            <label class="control-label col-sm-2">用户ID:</label>
                            <div class="col-sm-4">
                                <input class="form-control" disabled id="userId">
                            </div>
                        </div>
                        <div class="form-group" style="display: none" id="token_div">
                            <label class="control-label col-sm-2">token:</label>

                            <div class="col-sm-4">
                                <input class="form-control" disabled id="token">
                            </div>
                        </div>
                        <div class="form-group" style="display: none" id="apppleToken_div">
                            <label class="control-label col-sm-2">apppleToken:</label>

                            <div class="col-sm-4">
                                <input class="form-control" disabled id="apppleToken">
                            </div>
                        </div>
                        <div class="form-group" style="display: none" id="remoteUserAgent_div">
                            <label class="control-label col-sm-2">版本信息:</label>

                            <div class="col-sm-4">
                                <textarea class="form-control" disabled id="remoteUserAgent" rows="8"></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-2"></div>
                            <div class="col-sm-4">
                                <button type="button" class="btn-primary" id="updateUser">修改信息</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </section><!-- /.content -->
    </div><!-- /.content-wrapper -->

    <footer class="main-footer">

    </footer>

    <!-- Control Sidebar -->


    <!-- /.control-sidebar -->
    <!-- Add the sidebar's background. This div must be placed
         immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>

</div><!-- ./wrapper -->

<script src="http://cdn.52shangou.com/jquery/1.0.0/build/jquery-1.11.3.min.js"></script>
<script src="http://cdn.52shangou.com/jquery.cookie/1.0.0/build/jquery.cookie.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrap/1.0.0/build/3.3.5/bootstrap.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrapvalidator/1.0.0/build/js/bootstrapValidator.min.js"></script>
<script type="text/javascript" src="http://cdn.52shangou.com/bootstrap-typeahead/1.0.2/build/bootstrap-typeahead.min.js"></script>
<!-- AdminLTE App -->
<script src="../../src/c/dist/js/app.min.js"></script>
<script type="text/javascript" src="http://cdn.52shangou.com/lib/1.0.1/build/lib/require.js"></script>
<script type="text/javascript">
    require.config({
        urlArgs: 't='+ (new Date()).getTime(),
        baseUrl:'../../build',
        paths: {
            'juicer':'http://cdn.52shangou.com/lib/1.0.4/build/lib/juicer-amd'
        }
    });
    require(['p/user/detail/index']);
</script>
</body>
</html>